package com.hp.Model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class LessonResource {
    private Long id;
    private Long lessonId;             // FK -> lesson.id
    private String title;
    /** PPT / PDF / DOC / ZIP / LINK / OTHER */
    private String resType;
    private String fileUrl;
    private String fileExt;            // 可空
    private Long fileSizeBytes;        // 可空
    private Integer pageCount;         // 可空
    private Date createdAt;
}
